package com.hgd.security.evp.biz.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author By Shang
 * @email ${email}
 * @version 2019-03-20 22:56:10
 */
@Table(name = "evp_element")
public class EvpElement implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //资源编码
    @Column(name = "code")
    private String code;
	
	    //资源类型
    @Column(name = "type")
    private String type;
	
	    //资源名称
    @Column(name = "name")
    private String name;
	
	    //资源路径
    @Column(name = "uri")
    private String uri;
	
	    //资源关联菜单
    @Column(name = "menu_id")
    private Integer menuId;
	
	    //
    @Column(name = "parent_id")
    private Integer parentId;
	
	    //资源树状检索路径
    @Column(name = "path")
    private String path;
	
	    //资源请求类型
    @Column(name = "method")
    private String method;
	
	    //描述
    @Column(name = "description")
    private String description;
	
	    //
    @Column(name = "crt_time")
    private Date crtTime;
	
	    //
    @Column(name = "crt_user_id")
    private String crtUserId;
	
	    //
    @Column(name = "crt_user_name")
    private String crtUserName;
	
	    //租户Id
    @Column(name = "tenant_id")
    private String tenantId;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：资源编码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：资源编码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：资源类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：资源类型
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：资源名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：资源名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：资源路径
	 */
	public void setUri(String uri) {
		this.uri = uri;
	}
	/**
	 * 获取：资源路径
	 */
	public String getUri() {
		return uri;
	}
	/**
	 * 设置：资源关联菜单
	 */
	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}
	/**
	 * 获取：资源关联菜单
	 */
	public Integer getMenuId() {
		return menuId;
	}
	/**
	 * 设置：
	 */
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：
	 */
	public Integer getParentId() {
		return parentId;
	}
	/**
	 * 设置：资源树状检索路径
	 */
	public void setPath(String path) {
		this.path = path;
	}
	/**
	 * 获取：资源树状检索路径
	 */
	public String getPath() {
		return path;
	}
	/**
	 * 设置：资源请求类型
	 */
	public void setMethod(String method) {
		this.method = method;
	}
	/**
	 * 获取：资源请求类型
	 */
	public String getMethod() {
		return method;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：
	 */
	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}
	/**
	 * 获取：
	 */
	public Date getCrtTime() {
		return crtTime;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserId(String crtUserId) {
		this.crtUserId = crtUserId;
	}
	/**
	 * 获取：
	 */
	public String getCrtUserId() {
		return crtUserId;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserName(String crtUserName) {
		this.crtUserName = crtUserName;
	}
	/**
	 * 获取：
	 */
	public String getCrtUserName() {
		return crtUserName;
	}
	/**
	 * 设置：租户Id
	 */
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	/**
	 * 获取：租户Id
	 */
	public String getTenantId() {
		return tenantId;
	}
}
